Optimal. Leaf size=71 \[ -\frac{\sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{d x}-\frac{b c \sqrt{c x-1} \sqrt{c x+1} \log (x)}{\sqrt{d-c^2 d x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.302531, antiderivative size = 79, normalized size of antiderivative = 1.11, number of steps used = 3, number of rules used = 3, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.111, Rules used = {5798, 5724, 29} \[ -\frac{(1-c x) (c x+1) \left (a+b \cosh ^{-1}(c x)\right )}{x \sqrt{d-c^2 d x^2}}-\frac{b c \sqrt{c x-1} \sqrt{c x+1} \log (x)}{\sqrt{d-c^2 d x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5798
Rule 5724
Rule 29
Rubi steps
\begin{align*} \int \frac{a+b \cosh ^{-1}(c x)}{x^2 \sqrt{d-c^2 d x^2}} \, dx &=\frac{\left (\sqrt{-1+c x} \sqrt{1+c x}\right ) \int \frac{a+b \cosh ^{-1}(c x)}{x^2 \sqrt{-1+c x} \sqrt{1+c x}} \, dx}{\sqrt{d-c^2 d x^2}}\\ &=-\frac{(1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{x \sqrt{d-c^2 d x^2}}-\frac{\left (b c \sqrt{-1+c x} \sqrt{1+c x}\right ) \int \frac{1}{x} \, dx}{\sqrt{d-c^2 d x^2}}\\ &=-\frac{(1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{x \sqrt{d-c^2 d x^2}}-\frac{b c \sqrt{-1+c x} \sqrt{1+c x} \log (x)}{\sqrt{d-c^2 d x^2}}\\ \end{align*}
Mathematica [A] time = 0.0645657, size = 71, normalized size = 1. \[ \frac{\sqrt{c x-1} \sqrt{c x+1} \left (\frac{\sqrt{c x-1} \sqrt{c x+1} \left (a+b \cosh ^{-1}(c x)\right )}{x}-b c \log (x)\right )}{\sqrt{d-c^2 d x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.167, size = 219, normalized size = 3.1 \begin{align*} -{\frac{a}{dx}\sqrt{-{c}^{2}d{x}^{2}+d}}-{\frac{b{\rm arccosh} \left (cx\right )c}{d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{cx-1}\sqrt{cx+1}}-{\frac{b{\rm arccosh} \left (cx\right )x{c}^{2}}{d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }}+{\frac{b{\rm arccosh} \left (cx\right )}{ \left ({c}^{2}{x}^{2}-1 \right ) dx}\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }}+{\frac{bc}{d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{cx-1}\sqrt{cx+1}\ln \left ( \left ( cx+\sqrt{cx-1}\sqrt{cx+1} \right ) ^{2}+1 \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.51823, size = 586, normalized size = 8.25 \begin{align*} \left [-\frac{b c \sqrt{-d} x \log \left (\frac{c^{2} d x^{6} + c^{2} d x^{2} - d x^{4} + \sqrt{-c^{2} d x^{2} + d} \sqrt{c^{2} x^{2} - 1}{\left (x^{4} - 1\right )} \sqrt{-d} - d}{c^{2} x^{4} - x^{2}}\right ) + 2 \, \sqrt{-c^{2} d x^{2} + d} b \log \left (c x + \sqrt{c^{2} x^{2} - 1}\right ) + 2 \, \sqrt{-c^{2} d x^{2} + d} a}{2 \, d x}, \frac{b c \sqrt{d} x \arctan \left (\frac{\sqrt{-c^{2} d x^{2} + d} \sqrt{c^{2} x^{2} - 1}{\left (x^{2} + 1\right )} \sqrt{d}}{c^{2} d x^{4} -{\left (c^{2} + 1\right )} d x^{2} + d}\right ) - \sqrt{-c^{2} d x^{2} + d} b \log \left (c x + \sqrt{c^{2} x^{2} - 1}\right ) - \sqrt{-c^{2} d x^{2} + d} a}{d x}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{a + b \operatorname{acosh}{\left (c x \right )}}{x^{2} \sqrt{- d \left (c x - 1\right ) \left (c x + 1\right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{b \operatorname{arcosh}\left (c x\right ) + a}{\sqrt{-c^{2} d x^{2} + d} x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]